package edu.mse.camel.client.session.actions;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPart;

import edu.mse.camel.client.session.views.SessionDialog;

public class LoginActionDelegate implements IObjectActionDelegate,
IViewActionDelegate {

	@Override
	public void init(IViewPart view) {
		// TODO Auto-generated method stub
		
	}
	
	@Override
	public void setActivePart(IAction action, IWorkbenchPart targetPart) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void run(IAction action) {
		// TODO Auto-generated method stub
		SessionDialog sessionDialog = new SessionDialog();
		sessionDialog.getIDandPassword();
	}

	@Override
	public void selectionChanged(IAction action, ISelection selection) {
		// TODO Auto-generated method stub
		
	}

}
